<?php
// +----------------------------------------------------------------------
// | 后台用户管理
// +----------------------------------------------------------------------
namespace app\common\model;
use think\Model;

class GoodsSpecsGift extends Model
{
	
	//优惠券，一对一关联
	public function coupon(){
        return $this->hasOne('coupon','id','coupon_id')->bind([
        	'coupon_name'=>'name',
        	'coupon_price'=>'price',
        	'coupon_remark'=>'remark',
        ]);
    }
	
}
